home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Zone 96
/
PC Zone #096.7z
/
Dppcz1200.mdf
/
Demos
/
Gunlok
/
data1.cab
/
Program_Executable_Files
/
scripts
/
cityruins.gls
< prev
next >
Wrap
Text File
|
2000-09-09
|
17KB
|
899 lines
/************/
/* INCLUDES */
/************/
// n.b. when multiple inclusion is prevented some of these will be automatically included by others as required
// default things to inherit our objects from
#include "defaults.gsh"
// good guys
#include "gunlok.gsh"
#include "hark.gsh"
#include "frend.gsh"
#include "elint.gsh"
#include "maskelyn.gsh"
// bad guys
#include "archore.gsh"
#include "walking_mine.gsh"
#include "runner.gsh"
#include "massacrete.gsh"
#include "warflash.gsh"
#include "scythor.gsh"
#include "destructor.gsh"
#include "drone.gsh"
// neutral things
#include "crate.gsh"
#include "domefrag.gsh"
#include "blobarrelfrag.gsh"
// fires
#include "lamp.gsh"
#include "yellowlight.gsh"
#include "oilfire.gsh"
/*********/
/* NOTES */
/*********/
/**********/
/* SHAPES */
/**********/
// world objects
shape Shp_key
{
file "objects/ID MODULE.rif"
name "ID MODULE"
}
shape Shp_keylift
{
file "levels\city ruins.rif"
name "keylift"
}
shape Shp_buttonb
{
file "objects\liftswitch H.rif"
name "liftswitch H"
}
shape Shp_block
{
file "levels\city ruins.rif"
name "block"
}
shape Shp_buttona
{
file "objects\liftswitch F.rif"
name "liftswitch F"
}
shape Shp_car
{
file "levels\city ruins.rif"
name "car A"
}
shape Shp_estatecar
{
file "objects\new car 3.rif"
name "new car 3"
}
shape Shp_van
{
file "objects\van.rif"
name "van"
}
shape Shp_jeep
{
file "objects\jeep.rif"
name "jeep"
}
shape Shp_dome
{
file "objects\dome.rif"
name "dome A"
}
shape Shp_fattower
{
file "levels\city ruins.rif"
name "fattower A"
}
shape Shp_lotus
{
file "levels\city ruins.rif"
name "lotus A"
}
shape Shp_ruinc
{
file "levels\city ruins.rif"
name "ruin C"
}
shape Shp_ruinl
{
file "levels\city ruins.rif"
name "ruin L"
}
shape Shp_ruink
{
file "levels\city ruins.rif"
name "ruin K"
}
shape Shp_subtower
{
file "levels\city ruins.rif"
name "subtower A"
}
shape Shp_talltower
{
file "levels\city ruins.rif"
name "talltower A"
}
/**** GARBAGE ****/
shape Shp_garbage_d
{
file "objects\garbage D.rif"
name "garbage D"
}
shape Shp_garbage_e
{
file "objects\garbage E.rif"
name "garbage E"
}
shape Shp_garbage_g
{
file "objects\garbage G.rif"
name "garbage G"
}
shape Shp_garbage_h
{
file "objects\garbage H.rif"
name "garbage H"
}
shape Shp_garbage_i
{
file "objects\garbage I.rif"
name "garbage I"
}
shape Shp_garbage_j
{
file "objects\garbage J.rif"
name "garbage J"
}
shape Shp_garbage_k
{
file "objects\garbage K.rif"
name "garbage K"
}
shape Shp_garbage_l
{
file "objects\garbage L.rif"
name "garbage L"
}
/*** JUNKPILES ***/
shape Shp_junkpile_e
{
file "objects\junkpile E.rif"
name "junkpile E"
}
shape Shp_junkpile_f
{
file "objects\junkpile F.rif"
name "junkpile F"
}
shape Shp_junkpile_g
{
file "objects\junkpile G.rif"
name "junkpile G"
}
shape Shp_junkpile_h
{
file "objects\junkpile H.rif"
name "junkpile H"
}
shape Shp_junkpile_i
{
file "objects\junkpile I.rif"
name "junkpile I"
}
shape Shp_junkpile_j
{
file "objects\junkpile J.rif"
name "junkpile J"
}
shape Shp_junkpile_k
{
file "objects\junkpile K.rif"
name "junkpile K"
}
shape Shp_junkpile_l
{
file "objects\junkpile L.rif"
name "junkpile L"
}
shape Shp_junkpile_m
{
file "objects\junkpile M.rif"
name "junkpile M"
}
shape Shp_junkpile_n
{
file "objects\junkpile N.rif"
name "junkpile N"
}
shape Shp_junkpile_o
{
file "objects\junkpile O.rif"
name "junkpile O"
}
/**********/
/* ROLES */
/**********/
// world objects
role Rol_key : Rol_DefaultPickup
{
shape Shp_key
character Chr_Other_Pickup
identifier "key"
}
role Rol_buttonb : Rol_PlacedObject
{
shape Shp_buttonb
destination selectable yes
ai pickup
}
role Rol_keylift : Rol_PlacedObject
{
shape Shp_keylift
ai track object
destination selectable yes
}
/*role Rol_blobarrel : Rol_PlacedObject
{
shape Shp_blobarrel
destructibility Frg_blobarrelfrag
identifier "blobarrel"
ai blocker
armour 1
}
*/
/*role Rol_block : Rol_PlacedObject
{
shape Shp_block
destructibility Frg_blobarrelfrag
identifier "block"
ai blocker
armour 30
}
*/
role Rol_buttona : Rol_PlacedObject
{
shape Shp_buttona
ai pickup
destination selectable yes
}
role Rol_car : Rol_PlacedObject
{
shape Shp_car
}
role Rol_estatecar : Rol_PlacedObject
{
shape Shp_estatecar
}
role Rol_jeep : Rol_PlacedObject
{
shape Shp_jeep
}
role Rol_van : Rol_PlacedObject
{
shape Shp_van
}
role Rol_dome : Rol_PlacedObject
{
shape Shp_dome
destructibility Frg_domefraga
identifier "domefraga"
ai blocker
armour 50
destination selectable yes
}
role Rol_fattower : Rol_PlacedObject
{
shape Shp_fattower
}
role Rol_lotus : Rol_PlacedObject
{
shape Shp_lotus
}
role Rol_ruinc : Rol_PlacedObject
{
shape Shp_ruinc
hit test ignore yes
}
role Rol_ruinl : Rol_PlacedObject
{
shape Shp_ruinl
hit test ignore yes
}
role Rol_ruink : Rol_PlacedObject
{
shape Shp_ruink
hit test ignore yes
}
role Rol_subtower : Rol_PlacedObject
{
shape Shp_subtower
}
role Rol_talltower : Rol_PlacedObject
{
shape Shp_talltower
}
/*** GARBAGE ***/
role Rol_garbage_d : Rol_DefaultGarbage
{
shape Shp_garbage_d
}
role Rol_garbage_e : Rol_DefaultGarbage
{
shape Shp_garbage_e
}
role Rol_garbage_g : Rol_DefaultGarbage
{
shape Shp_garbage_g
}
role Rol_garbage_h : Rol_DefaultGarbage
{
shape Shp_garbage_h
}
role Rol_garbage_i : Rol_DefaultGarbage
{
shape Shp_garbage_i
}
role Rol_garbage_j : Rol_DefaultGarbage
{
shape Shp_garbage_j
}
role Rol_garbage_k : Rol_DefaultGarbage
{
shape Shp_garbage_k
}
role Rol_garbage_l : Rol_DefaultGarbage
{
shape Shp_garbage_l
}
/***JUNKPILE ***/
role Rol_junkpile_e : Rol_DefaultJunkpile
{
shape Shp_junkpile_e
}
role Rol_junkpile_f : Rol_DefaultJunkpile
{
shape Shp_junkpile_f
}
role Rol_junkpile_g : Rol_DefaultJunkpile
{
shape Shp_junkpile_g
}
role Rol_junkpile_h : Rol_DefaultJunkpile
{
shape Shp_junkpile_h
}
role Rol_junkpile_i : Rol_DefaultJunkpile
{
shape Shp_junkpile_i
}
role Rol_junkpile_j : Rol_DefaultJunkpile
{
shape Shp_junkpile_j
}
role Rol_junkpile_k : Rol_DefaultJunkpile
{
shape Shp_junkpile_k
}
role Rol_junkpile_l : Rol_DefaultJunkpile
{
shape Shp_junkpile_l
}
role Rol_junkpile_m : Rol_DefaultJunkpile
{
shape Shp_junkpile_m
}
role Rol_junkpile_n : Rol_DefaultJunkpile
{
shape Shp_junkpile_n
}
role Rol_junkpile_o : Rol_DefaultJunkpile
{
shape Shp_junkpile_o
}
/***********/
/* THE MAP */
/***********/
map /* _THE_ map - doesnt need a label */
{
file "levels\city ruins.rif"
name "Land"
bitmap "bitmaps\\CITY RUINS.rim"
camera plane "Camhund"
max camera distance 100 // TBD exactly
// max camera focus height "max focus height"
// min camera focus height "min focus height"
shadow object rif "levels\cityruins_shadow.rif"
shadow object name "Land"
max vertices per section 1000
// PLAYERS TROOPS
// TEAM 1
use Rol_GunLok in team 1 for
"Goodie B" as "gunlok"
use Rol_Hark in team 1 for
"Goodie A" as "hark"
use Rol_Frend in team 1 for
"Goodie C" as "frend"
use Rol_Elint in team 1 for
"Goodie D" as "elint"
// NEUTRAL OBJECTS
/*
use Rol_cone in team 0 for
"light J" and
"light L" and
"light P"
use Rol_cone in team 0 for
"light B" and
"light C" and
"light D"
*/
/* use Rol_key in team 0 for
"key" as "key"*/
use Rol_buttonb in team 0 for
"buttonb" as "button_b"
use Rol_keylift in team 0 for
"keylift" as "keylift"
use Rol_blobarrel in team 0 for
"blobarrel" as "blobarrel"
use Rol_blobarrel in team 0 for
"blobarrel A" and
"blobarrel B" and
"blobarrel C" and
"blobarrel D" and
"blobarrel E" and
"blobarrel F" and
"blobarrel G" and
"blobarrel H" and
"blobarrel I"
use Rol_buttona in team 0 for
"button A" as "button_a"
use Rol_car in team 0 for
"car A" and
"car B" and
"car C" and
"car D" and
"car E" and
"car F" and
"car G" and
"car H"
use Rol_estatecar in team 0 for
"estate car A" and
"estate car B" and
"estate car C" and
"estate car D" and
"estate car E" and
"estate car F" and
"estate car G" and
"estate car H"
use Rol_van in team 0 for
"van A" and
"van B" and
"van C" and
"van D" and
"van E"
use Rol_jeep in team 0 for
"jeep A" and
"jeep B" and
"jeep C" and
"jeep D"
use Rol_dome in team 2 for
"dome A" as "dome_a"
use Rol_dome in team 2 for
"dome B" as "dome_b"
use Rol_dome in team 2 for
"dome C" as "dome_c"
use Rol_dome in team 2 for
"dome D" as "dome_d"
use Rol_dome in team 2 for
"dome E" as "dome_e"
use Rol_fattower in team 0 for
"fattower A" and
"fattower B"
use Rol_lotus in team 0 for
"lotus A" and
"lotus B"
use Rol_ruinc in team 0 for
"ruin C"
use Rol_ruinl in team 0 for
"ruin L"
use Rol_ruink in team 0 for
"ruin K"
use Rol_subtower in team 0 for
"subtower A" and
"subtower B" and
"subtower C"
use Rol_talltower in team 0 for
"talltower A" and
"talltower B" and
"talltower C" and
"talltower D"
use Rol_lamp in team 0 for
"light B" and
"light C" and
"light D" and
"light J" and
"light L" and
"light P"
use Rol_OilFire in team 0 for
"oilfire A" and
"oilfire B" and
"oilfire C" and
"oilfire D" and
"oilfire E" and
"oilfire F" and
"oilfire G" and
"oilfire H" and
"oilfire I" and
"oilfire J" and
"oilfire K" and
"oilfire M" and
"oilfire N" and
"oilfire O" and
"oilfire P" and
"oilfire Q"
/*** GARBAGE ***/
use Rol_garbage_d in team 0 for
"garbage DA" as "garbage_da"
use Rol_garbage_d in team 0 for
"garbage DB" as "garbage_db"
use Rol_garbage_d in team 0 for
"garbage DC" as "garbage_dc"
use Rol_garbage_e in team 0 for
"garbage EA" as "garbage_ea"
use Rol_garbage_e in team 0 for
"garbage EB" as "garbage_eb"
use Rol_garbage_g in team 0 for
"garbage GA" as "garbage_ga"
use Rol_garbage_g in team 0 for
"garbage GB" as "garbage_gb"
use Rol_garbage_g in team 0 for
"garbage GC" as "garbage_gc"
use Rol_garbage_h in team 0 for
"garbage HA" as "garbage_ha"
use Rol_garbage_h in team 0 for
"garbage HC" as "garbage_hc"
use Rol_garbage_h in team 0 for
"garbage HD" as "garbage_hd"
use Rol_garbage_i in team 0 for
"garbage IA" as "garbage_ia"
use Rol_garbage_i in team 0 for
"garbage IC" as "garbage_ic"
use Rol_garbage_i in team 0 for
"garbage ID" as "garbage_id"
use Rol_garbage_j in team 0 for
"garbage JA" as "garbage_ja"
use Rol_garbage_j in team 0 for
"garbage JB" as "garbage_jb"
use Rol_garbage_j in team 0 for
"garbage JC" as "garbage_jc"
/*use Rol_garbage_j in team 0 for
"garbage JD" as "garbage_jd" */
use Rol_garbage_k in team 0 for
"garbage KA" as "garbage_ka"
use Rol_garbage_k in team 0 for
"garbage KB" as "garbage_kb"
use Rol_garbage_k in team 0 for
"garbage KC" as "garbage_kc"
use Rol_garbage_k in team 0 for
"garbage KD" as "garbage_kd"
use Rol_garbage_k in team 0 for
"garbage KE" as "garbage_ke"
use Rol_garbage_l in team 0 for
"garbage LA" as "garbage_la"
use Rol_garbage_l in team 0 for
"garbage LB" as "garbage_lb"
use Rol_garbage_l in team 0 for
"garbage LC" as "garbage_lc"
use Rol_garbage_l in team 0 for
"garbage LD" as "garbage_ld"
use Rol_garbage_l in team 0 for
"garbage LE" as "garbage_le"
use Rol_garbage_l in team 0 for
"garbage LF" as "garbage_lf"
/*** JUNKPILE ***/
use Rol_junkpile_e in team 0 for
"junkpile EB" as "junkpile_eb"
use Rol_junkpile_e in team 0 for
"junkpile EC" as "junkpile_ec"
use Rol_junkpile_f in team 0 for
"junkpile FA" as "junkpile_fa"
use Rol_junkpile_f in team 0 for
"junkpile FB" as "junkpile_fb"
use Rol_junkpile_g in team 0 for
"junkpile GA" as "junkpile_ga"
use Rol_junkpile_g in team 0 for
"junkpile GB" as "junkpile_gb"
use Rol_junkpile_g in team 0 for
"junkpile GC" as "junkpile_gc"
use Rol_junkpile_g in team 0 for
"junkpile GD" as "junkpile_gd"
use Rol_junkpile_g in team 0 for
"junkpile GE" as "junkpile_ge"
use Rol_junkpile_h in team 0 for
"junkpile HA" as "junkpile_ha"
use Rol_junkpile_h in team 0 for
"junkpile HB" as "junkpile_hb"
use Rol_junkpile_h in team 0 for
"junkpile HC" as "junkpile_hc"
use Rol_junkpile_h in team 0 for
"junkpile HD" as "junkpile_hd"
use Rol_junkpile_h in team 0 for
"junkpile HE" as "junkpile_he"
use Rol_junkpile_h in team 0 for
"junkpile HF" as "junkpile_hf"
use Rol_junkpile_h in team 0 for
"junkpile HG" as "junkpile_hg"
use Rol_junkpile_h in team 0 for
"junkpile HH" as "junkpile_hh"
use Rol_junkpile_h in team 0 for
"junkpile HI" as "junkpile_hi"
use Rol_junkpile_i in team 0 for
"junkpile IA" as "junkpile_ia"
use Rol_junkpile_i in team 0 for
"junkpile IB" as "junkpile_ib"
use Rol_junkpile_i in team 0 for
"junkpile IC" as "junkpile_ic"
use Rol_junkpile_i in team 0 for
"junkpile ID" as "junkpile_id"
use Rol_junkpile_j in team 0 for
"junkpile JA" as "junkpile_ja"
use Rol_junkpile_k in team 0 for
"junkpile KA" as "junkpile_ka"
use Rol_junkpile_k in team 0 for
"junkpile KB" as "junkpile_kb"
use Rol_junkpile_k in team 0 for
"junkpile KC" as "junkpile_kc"
use Rol_junkpile_k in team 0 for
"junkpile KD" as "junkpile_kd"
use Rol_junkpile_k in team 0 for
"junkpile KE" as "junkpile_ke"
use Rol_junkpile_k in team 0 for
"junkpile KF" as "junkpile_kf"
use Rol_junkpile_k in team 0 for
"junkpile KG" as "junkpile_kg"
use Rol_junkpile_l in team 0 for
"junkpile LA" as "junkpile_la"
use Rol_junkpile_l in team 0 for
"junkpile LB" as "junkpile_lb"
use Rol_junkpile_l in team 0 for
"junkpile LC" as "junkpile_lc"
use Rol_junkpile_l in team 0 for
"junkpile LD" as "junkpile_ld"
use Rol_junkpile_l in team 0 for
"junkpile LE" as "junkpile_le"
use Rol_junkpile_l in team 0 for
"junkpile LF" as "junkpile_lf"
use Rol_junkpile_l in team 0 for
"junkpile LG" as "junkpile_lg"
use Rol_junkpile_l in team 0 for
"junkpile LH" as "junkpile_lh"
use Rol_junkpile_l in team 0 for
"junkpile LI" as "junkpile_li"
use Rol_junkpile_m in team 0 for
"junkpile MA" as "junkpile_ma"
use Rol_junkpile_m in team 0 for
"junkpile MB" as "junkpile_mb"
use Rol_junkpile_m in team 0 for
"junkpile MC" as "junkpile_mc"
use Rol_junkpile_m in team 0 for
"junkpile MD" as "junkpile_md"
use Rol_junkpile_m in team 0 for
"junkpile ME" as "junkpile_me"
use Rol_junkpile_m in team 0 for
"junkpile MF" as "junkpile_mf"
use Rol_junkpile_m in team 0 for
"junkpile MG" as "junkpile_mg"
use Rol_junkpile_m in team 0 for
"junkpile MH" as "junkpile_mh"
use Rol_junkpile_n in team 0 for
"junkpile NA" as "junkpile_na"
use Rol_junkpile_n in team 0 for
"junkpile NB" as "junkpile_nb"
use Rol_junkpile_n in team 0 for
"junkpile NC" as "junkpile_nc"
use Rol_junkpile_n in team 0 for
"junkpile ND" as "junkpile_nd"
use Rol_junkpile_n in team 0 for
"junkpile NE" as "junkpile_ne"
use Rol_junkpile_n in team 0 for
"junkpile NF" as "junkpile_nf"
use Rol_junkpile_n in team 0 for
"junkpile NG" as "junkpile_ng"
use Rol_junkpile_o in team 0 for
"junkpile OA" as "junkpile_oa"
use Rol_junkpile_o in team 0 for
"junkpile OB" as "junkpile_ob"
use Rol_junkpile_o in team 0 for
"junkpile OC" as "junkpile_oc"
use Rol_junkpile_o in team 0 for
"junkpile OD" as "junkpile_od"
use Rol_junkpile_o in team 0 for
"junkpile OE" as "junkpile_oe"
use Rol_junkpile_o in team 0 for
"junkpile OF" as "junkpile_of"
use Rol_junkpile_o in team 0 for
"junkpile OG" as "junkpile_og"
use Rol_junkpile_o in team 0 for
"junkpile OH" as "junkpile_oh"
use Rol_junkpile_o in team 0 for
"junkpile OI" as "junkpile_oi"
use Rol_archore in team 2 for
"baddie ca" as "keyman"
}
camera track
{
file "levels\city ruins.rif"
name "scene 23"
}